package cn.jserv.ddns.data;

/**
 * @author 蒋登伟
 * @create 2022-03-17 16:22
 */
public class RestfulResult {

    private int code;

    private String message;

    public RestfulResult() {
    }

    public RestfulResult(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public RestfulResult setCode(int code) {
        this.code = code;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public RestfulResult setMessage(String message) {
        this.message = message;
        return this;
    }

}
